package com.mingyuan.library.infra.common.anntation;

import org.springframework.core.annotation.AliasFor;

import java.lang.annotation.*;

/**
 * @author yangzhongkun
 * @version V1.0
 * @description:
 * @AnnotationName: RestResponse
 * @date 2021/7/22 10:40
 **/
@Target(ElementType.METHOD)
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface RestResponse {

    String value() default "";

    @AliasFor("value")
    String description() default "";
}
